import { get, post } from '../http';
/**
 * 物测管理列表
 */
export function verifyManage() {

    return {
        //新增操作
        addVerifyManage: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/insertList'
            })
        },
        //修改操作
        editVerifyManage: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/updateList'
            })
        },
        //删除数据 
        batchDelVerifyManage: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/delete'
            })
        },
        //查询
        getVerifyManageList: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/getVerifyResultTotal'
            })
        },
        // //分页查询
        // getPageVerifyManageList: (params: any) => {
        //     return post({
        //         data: params,
        //         url: '/pdm/VerifyManage/getPage'
        //     })
        // },
        //条件查询
        getQueryVerifyManageList: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/getVerifyManageList'
            })
        },
        //模糊下拉查询
        getFiledVerifyManageList: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/getFieldValue'
            })
        },
        //查询项目结果汇总
        geVerifyResultSummary: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/getVerifyResultTotal'
            })
        },
        //审核
        setAuditVerfiyManage: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/setAudit'
            })
        },
        //消息推送 撤回
        pushAndWithdrawalVerfiyMessage: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/update'
            })
        },
        //小标签打印
        printSamllLabel: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/getPrintSmall'
            })
        },
        //物测标签打印
        printPhyLabel: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/getPrintBig'
            })
        },
        //条件查询
        getVerifyInfoList: (params: any) => {
            return post({
                data: params,
                url: "/pdm/VerifyManageDetail/getList"
            })
        },
        //物测标签打印明细
        getPrintPhy: (params: any) => {
            return post({
                data: params,
                url: "/pdm/VerifyManage/getVerifyManageDetailList"
            })
        }
    }
}


/**
 * 物测异常列表
 */
export function verifyAbnorma() {
    return {
        getVerifyAbnormaList: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/getVerifyAbnormalList'
            })
        }
    }
}


/**
 * 物测已推送查询
 */
export function verifyPush() {
    return {
        getVerifyPushList: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyManage/getVerifyManageList'
            })
        }
    }
}

/**
 * 缩水测试原始资料登记
 */
export function verfiyShrinkReg() {
    return {
        //分页查询
        getPageVerfiyShrinkRegList: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyShrinkRegist/getPage'
            })
        },
        //下拉查询
        getFieldVerfiyShrinkRegList: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyShrinkRegist/getFieldValue'
            })
        },
        //新增
        addVerfiyShrinkReg: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyShrinkRegist/insert'
            })
        },
        //编辑
        editVerfiyShrinkReg: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyShrinkRegist/update'
            })
        },
        //删除
        batchDelVerfiyShrinkReg: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyShrinkRegist/delete'
            })
        },
        //审核
        setAuditVerfiyShrinkReg: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyShrinkRegist/setAudit'
            })
        },

        //根据流转卡号查询带出数据
        getCirculatCardBriData: (params: any) => {
            return post({
                data: params,
                url: '/pdm/VerifyShrinkRegist/getCirculatCard'
            })
        }
    }
} 

/**
 * 物测管理明细 
 */

export function verfiyManageInfo() {
    return {
         
    }
}